<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. -->
<!-- This file shows how to design a first-run page that provides a welcome screen to the user about the features of the add-in. -->

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Contoso Task Pane Add-in</title>

    <!-- Load the Office JavaScript APIs -->
    <script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js" type="text/javascript"></script>

    <!-- For more information on Fluent UI, visit https://developer.microsoft.com/fluentui#/. -->
    <link rel="stylesheet" href="https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/office-ui-fabric-core/11.1.0/css/fabric.min.css" />

    <!-- Template styles -->
    <link href="button.css" rel="stylesheet" type="text/css" />
    <link href="taskpane.css" rel="stylesheet" type="text/css" />
</head>

<body class="ms-font-m ms-welcome ms-Fabric">
    <header class="ms-welcome__header ms-bgColor-neutralLighter">
        <img width="90" height="90" src="../../assets/logo-filled.png" alt="Contoso" title="Contoso" />
    </header>
    <section id="sideload-msg" class="ms-welcome__main">
        <h2 class="ms-font-xl">
            Please
            <a target="_blank" href="https://learn.microsoft.com/office/dev/add-ins/testing/test-debug-office-add-ins#sideload-an-office-add-in-for-testing">sideload</a>
            your add-in to see app body.
        </h2>
    </section>
    <main id="app-body" class="ms-welcome__main" style="display: none">
        <div>
            <label>Add new task:  </label>
            <input type="text" id="textInput" name="input task">
            <button class="Button Button--primary" id="addTodoButton">
                <span class="Button-icon"><i class="ms-Icon ms-Icon--plus"></i></span>
                <span class="Button-label">Add</span>
                <span class="Button-description">Add a new task.</span>
            </button>
        </div>
        <div>
            <button class="Button Button--primary" id="getTodoListButton">
                <span class="Button-icon"><i class="ms-Icon ms-Icon--plus"></i></span>
                <span class="Button-label">Get todo list</span>
                <span class="Button-description">Get todo list.</span>
            </button>
        </div>

        <div>
            <div id="groupDiv" class="group-div d-none">
                <ul id="toDoListItems" class="list-group">
                </ul>
            </div>
        </div>
        <div>
            <textarea id="messages" rows="5" cols="50" style="visibility:hidden;"></textarea>
        </div>
    </main>
</body>

</html>